<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body {
      margin: 0;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(circle at center, midnightblue, black);
    }

    .coil {
      width: 17em;
      height: 17em;
      color: darkgreen;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .coil div:nth-child(1) {--n: 1}
    .coil div:nth-child(2) {--n: 2}
    .coil div:nth-child(3) {--n: 3}
    .coil div:nth-child(4) {--n: 4}
    .coil div:nth-child(5) {--n: 5}
    .coil div:nth-child(6) {--n: 6}
    .coil div:nth-child(7) {--n: 7}
    .coil div:nth-child(8) {--n: 8}

    .coil div {
      position: absolute;
      width: calc((var(--n) * 2 + 1) * 1em);
      height: calc((var(--n) * 2 + 1) * 1em);
      box-sizing: border-box;
      border: 1em solid;
      height: calc((var(--n) + 0.5) * 1em);
    }

    .coil div:nth-child(even) {
      align-self: flex-start;
      border-top: none;
      transform: translateY(calc(17em / 2));
      border-radius: 0 0 50% 50% / 0 0 100% 100%;
    }

    .coil div:nth-child(odd) {
      align-self: flex-end;
      border-bottom: none;
      transform: translateY(calc(17em / 2 * -1)) translateX(1em);
      border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    }

    .coil::after,
    .coil::before {
      content: "";
      position: absolute;
      width: 1em;
      height: 1em;
      background-color: currentColor;
      border-radius: 50%;
    }

    .coil::after {
      left: 0;
      background-color: darkred;
      transform: scale(0.9);
      box-shadow: 0 0 1em white;
      z-index: -1;
    }

  </style>
</head>
<body>
  <h1 style="color: darkred; margin-right: 3em">蚊香</h1>
  <figure class="coil">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
  </figure>
</body>
</html>